#!/bin/bash
echo open plug $1
if sudo /home/pi/usb2wireless/u2w -remote -sio 1 -port pioa -pin $1 | grep -q "no response" ; then
	exit 7
else
	exit 6
fi
